package com.duotai;

public class AnimalTest {
    public static void main(String[] args) {
        Animal cat = new Cat();
        cat.setName("小猫咪");
        cat.sleep();
        cat.eat();
        System.out.println(cat.toString());
    }
}
